package com.api.rest.model;

import java.util.List;

public class RestMethod {

	private String name;

	private String returnType;

	private List<String> throwTypes;

	private List<RestParameter> parameters;

	private boolean deprecated;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getReturnType() {
		return returnType;
	}

	public void setReturnType(String returnType) {
		this.returnType = returnType;
	}

	public List<String> getThrowTypes() {
		return throwTypes;
	}

	public void setThrowTypes(List<String> throwTypes) {
		this.throwTypes = throwTypes;
	}

	public List<RestParameter> getParameters() {
		return parameters;
	}

	public void setParameters(List<RestParameter> parameters) {
		this.parameters = parameters;
	}

	public boolean isDeprecated() {
		return deprecated;
	}

	public void setDeprecated(boolean deprecated) {
		this.deprecated = deprecated;
	}
}
